package com.group.doctor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("doctor")
@ApiModel(value="Doctor对象", description="医生")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "医生的姓名")
    private String name;

    @ApiModelProperty(value = "医生的电话号码")
    private String tel;

    @ApiModelProperty(value = "医生所在的医院")
    private Integer hospitalId;

    @ApiModelProperty(value = "医生所在科室")
    private Integer departmentId;

    @ApiModelProperty(value = "医生职位")
    private Integer postsId;

    @ApiModelProperty(value = "入职时间")
    private LocalDateTime joinTime;

    @ApiModelProperty(value = "审核状态")
    private Integer auditStatus;

    @ApiModelProperty(value = "服务审核状态，1待审核，2审核待完善，3已审核")
    private Integer serviceStatus;

    @ApiModelProperty(value = "对应的粉丝id")
    private Integer fansId;

    @ApiModelProperty(value = "银行卡号")
    private String bankCard;

    @ApiModelProperty(value = "擅长")
    private String excel;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "证书")
    private Integer certificateId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "创建人")
    private Integer creatorId;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private Integer updaterId;

    @ApiModelProperty(value = "是否存在，1代表存在，0代表被删除")
    private Boolean showStatus;


}
